package com.fjwt.gz.db.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fjwt.gz.core.model.BaseModel;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户月度资产等级表
 * </p>
 *
 * @author shiyonghao
 * @since 2025-04-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_f_asset_month")
public class AssetMonthEntity extends BaseModel {

    public static LambdaQueryWrapper<AssetMonthEntity> gw(){
        return new LambdaQueryWrapper<>();
    }

    /**
     * 主键
     */
    @TableId(value = "asset_month_id", type = IdType.AUTO)
    private Long assetMonthId;

    /**
     * 用户ID
     */
    private Long fansId;

    /**
     * 资产年份
     */
    private Integer year;

    /**
     * 资产月份
     */
    private Integer month;

    /**
     * 资产等级
     */
    private Integer level;
    /**
     * 机构ID
     */
    private String agentNo;

    /**
     * 机构ID1
     */
    private String agentNo1;

    /**
     * 机构ID2
     */
    private String agentNo2;

    /**
     * 机构ID3
     */
    private String agentNo3;

    /**
     * 机构ID4
     */
    private String agentNo4;


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;


}
